<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>元素溢出</title>
    <style>
        /* div { */
        /* width: 200px;
            height: 200px;
            background-color: pink; */

        /* overflow: hidden; */
        /* overflow: scroll; */
        /* overflow: auto; */
        /* } */

        .one {
            width: 100px;
            height: 100px;
            background-color: brown;
            margin-bottom: 80px;
        }

        .two {
            width: 100px;
            height: 100px;
            background-color: orange;
            margin-top: 50px;
        }
    </style>
</head>
</head>

<body>
    <div>文字内容测试</div>
    <div class="one">one</div>
    <div class="two">two</div>
</body>

</html>